<template>
  <div id="app">
    {{testFromHome}}
  </div>
</template>

<script>
  import {getBanners,getFloors,getBaseCategoryList} from "api/api";
  import {mapState} from "vuex";
  export default {
    name: 'App',
    computed:{
      ...mapState({testFromHome:state=>state.home.test})
    },
    async mounted() {
      const data = await getBanners();
      const data2 = await getFloors();
      const data3 = await getBaseCategoryList();
      console.log(data,data2,data3);
    }
  }
</script>

<style scoped>

</style>
